<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<c:set value="${requestScope.response.data }" var="data" />
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>后台登录 - 美妆产品销售系统</title>
		<%@ include file="/common/include/title.jsp" %>
	</head>
	<body class="bg03">
		<div class="container">
			<div class="row tm-mt-big">
				<div class="col-12 mx-auto tm-login-col">
					<div class="bg-white tm-block">
						<div class="row">
							<div class="col-12 text-center">
								<i class="fas fa-3x fa-tachometer-alt tm-site-icon text-center"></i>
								<h2 class="tm-block-title mt-3">管理员登陆</h2>
							</div>
						</div>
						<div class="row mt-2">
							<div class="col-12">
								<form action="${rootPath }/NoLoginServlet?method=adminsLoginSubmit" method="post" class="tm-login-form">
									<div class="input-group">
										<label for="username"
											class="col-xl-4 col-lg-4 col-md-4 col-sm-5 col-form-label">邮箱</label>
										<input name="email" type="text"
											class="form-control validate col-xl-9 col-lg-8 col-md-8 col-sm-7"
											id="email" value="" required>
									</div>
									<div class="input-group mt-3">
										<label for="password"
											class="col-xl-4 col-lg-4 col-md-4 col-sm-5 col-form-label">密码</label>
										<input name="password" type="password"
											class="form-control validate" id="password" value=""
											required>
									</div>
									<div class="input-group mt-3">
										<label for="password"
											class="col-xl-4 col-lg-4 col-md-4 col-sm-5 col-form-label">验证码</label>
										<input name="rand" type="text"
											class="form-control validate" id="rand" value=""
											required>
										<a href="#" tabindex="-1" onclick="return refreshCode('imgCode');">
											<img id="imgCode" src="${rootPath }/CommonServlet?method=code" title="点击刷新验证码" width="100" height="35" />
										</a>
									</div>
									<div class="input-group mt-3">
										<button type="submit"
											class="btn btn-primary d-inline-block mx-auto">登陆</button>
									</div>
									<div class="input-group mt-3">
										<p>
											<em>${response.info}</em>
										</p>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
			<%@ include file="/common/include/footer.jsp" %>
		</div>
	</body>
</html>